home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_1
/
crip0021.zip
/
TECH.DOC
< prev
next >
Wrap
Text File
|
1992-08-27
|
4KB
|
121 lines
CRIPPLE SMASH VERSION .0021
TECHNICAL DOCUMENT
The Document is included for anybody who wants to write any 3rd party
utilities for Cripple Smash (yeah right!! :).
-------------------------------------------------------------------------
FILE FORMATS
Cripple Smash uses many data files. The major ones are:
SMASHERS.DAT : The file that holds Player Records.
SMASH.CFG : The Config File
NUMDEAD.DAT : The Number of Living Dead in the Game
Cripple Files: The Text Files That Store Cripple Info
---------------------------------------------------------------------------
FORMAT OF THE PLAYER RECORD FILE (SMASHERS.DAT)
The Player Record file is a File of TPlayerRec. TplayerRec
is a Turbo Pascal Record setup like this:
TPlayerRec = record
Name : String[40];
MaxDamage,
Current : Longint;
Title : String;
SmashBaseDamage : Word;
Level : Byte;
RankPoints : Longint;
LastOn : Word;
TimesHealed : Byte;
end;
NAME : The Players Name.
MAXDAMAGE : The Maximum Amount of Damage player can take.
CURRENT : The amount of Damage player can currently take.
TITLE : Player's Level Title
SMASHBASEDAMAGE : The Base Amount of Damage the Player Does.
LEVEL : What Level the Player Is. 0 = Dead.
RANKPOINTS : The Number of RankPoints the player Has.
LASTON : The Last Day the Player was on. 28 = the 28th, etc.
TIMESHEALED : Number of times the Player has been healed today.
------------------------------------------------------------------------------
FORMAT OF THE CONFIG FILE
The Config File is a text file with 3 lines, like this:
Ben Freeman
Ben's By the Sea BBS
2
Line 1 is the Sysop's Name. Line 2 is the name of the BBS. Line 3 is
the Comm Port Cripple Smash is setup on.
------------------------------------------------------------------------------
FORMAT OF NUMDEAD.DAT
NUMDEAD.DAT contains a WORD variable which says How Many Cripples Have
Died. This file is consulted when Player goes to fight The Living Dead.
------------------------------------------------------------------------------
FORMAT OF CRIPPLE FILES
Cripple Files are text Files setup like this:
H. ROSS PEROT
1000
20000
20000
You and ▓ close for combat.
▓ leaps at you and you get down to some SERIOUS issues.
▓ avoids the question for 1000 damage.
▓ talks at you with a Texas accent for 2000 damage!!!
▓ holds an electronic town meeting at you for 4000 damage!!!
▓ avoids the question but you tell him to shut up!!!
▓ talks but you cover your ears!!!
▓ schedules an electronic town meeting but you don't come!!
▓ dies, and his skin sheds and he's really an alien from "V"!
I'm not dead: lets get down to the real issues.
Line 1 is the Name of the Cripple.
Line 2 is the Base Amount of Damage the Cripple does.
Line 3 is the Experience a Player gets for Beating this Cripple.
Line 4 is the Damage the Cripple Can take.
Line 5 is what the game will say in the beginning of combat.
Line 6 is the other thing the game could say at the onset of combat.
Line 7 is when the Cripple hits with Random Attack 1.
Line 8 is when the Cripple hits with Random Attack 2.
Line 9 is when the Cripple hits with Random Attack 3.
Line 10 is when the Cripple MISSES with Random Attack 1.
Line 11 is when the Cripple MISSES with Random Attack 2.
Line 12 is when the Cripple MISSES with Random Attack 3.
Line 13 is what the game says when the Cripple DIES.
Line 14 is what the Cripple says when it Dies.
Ok, now you want an IN DEPTH explanation. Cripples choose between 3 attacks,
at random. The higher the probability of hitting, the lower the damage done.
Here's a chart:
ATTACK # CHANCE OF HITTING DAMAGE
1 75 percent 1000(Base Dam. * 1)
2 50 percent 2000(Base Dam. * 2)
3 33 percent 4000(Base Dam. * 4)
Get it?